package com.lotusfall.service;

import com.lotusfall.pojo.Permission;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface PermissionService {
    /**
     * 根据UserId查询用户的权限
     * @param userid
     * @return
     */
    List<Permission> listPermissionByUserid(Long userid);
}
